package com.example.design.ddd.practice2.adapter.driven.persistence.order;

import com.example.design.ddd.practice2.domain.order.entity.Order;
import com.example.design.ddd.practice2.domain.order.repository.OrderRepository;

/**
 * 基础设施层 订单仓储基于jpa的实现
 */
public class JpaOrderRepository implements OrderRepository {
    @Override
    public Order findById(String orderId) {
        // JPA实现
        return null;
    }

    @Override
    public void save(Order order) {
        // JPA实现
    }
}